<?php
/**
 * Created by JetBrains PhpStorm.
 * User: zhouyang
 * Date: 13-9-6
 * Time: 下午4:31
 * To change this template use File | Settings | File Templates.
 */
class TagHasNewsDB extends DBReader{

    //批量获取标签对应的资讯ID
    public function mulitGetNewIdByTagIds($tag_ids){

        $sql = 'select new_id from tag_has_news where tag_id in('.$tag_ids.')';

        return $this->db()->getOneAll($sql);
    }
}